
<ion-view view-title="数据统计">
    <ion-content class="dataHome">
        <div class="item item-divider data-item" >店铺数据</div>
        <div class="row bg-fff data-header" style="padding-bottom: 0;padding-top: 0">
            <div class="col text-center brddd " >
                <p>店铺访问量</p>
                <span>{{shopCount.shopViewCount}}</span>
            </div>
            <div class="col text-center ">
                <p>产品访问量</p>
                <span>{{shopCount.shopProductViewCount}}</span>
            </div>
        </div>
        <div class="row bg-fff data-header" style="border-top: 1px solid #f0eff5;">
            <div class="col text-center brddd">
                <p>访客数</p>
                <span>{{shopCount.shopRecordCount}}</span>
            </div>
            <div class="col text-center ">
                <p>分享次数</p>
                <span>{{shopCount.shopShareCount}}</span>
            </div>
        </div>

        <div  class="item item-divider data-item">产品数据<span ng-hide="totalCount == '0'">（{{totalCount}}）</span></div>
        <ul class="list" >
            <li  class="item  item-icon-right row" ng-if="shopPro" ui-sref="app.shopsDataDetails({type:i.type,param:i.param})"  ng-repeat="i in shopPro">
                <div class="col col-60 hide-text">{{i.productName}}</div>
                <div  class="col col-40 hide-text text-center list-count">{{i.count}}次访问<i class="icon ion-ios-arrow-right"></i></div>

            </li>
            <li ng-if="!shopPro" class="item text-center">
                暂无访问数据
            </li>
        </ul>
        <div ng-hide="totalCount == '0'" class="item  text-center" style="color:#000" ui-sref="app.shopsDataList">
            全部产品 <i class="icon ion-ios-arrow-right"></i>
        </div>
    </ion-content>
</ion-view>